package cn.yh.st.core.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.yh.st.core.dao.TestDemoDao;
import cn.yh.st.core.domain.TestDemo;
import cn.yh.st.core.service.TestDemoService;

@Service
public class TestDemoServiceImpl implements TestDemoService {

	@Resource
	private TestDemoDao testDemoDao;

	@Override
	public TestDemo getByName(long id) {
		return testDemoDao.selectByPrimaryKey(id);
	}

}
